#ifndef SDLPLAYER_H
#define SDLPLAYER_H

void PlayFAAC(const char*name);
void PlayH264(const char*name);
void PlayFlv(const char*name);
void PlayRtmp(const char*url);
void _InitAudioThread(const char*buffer,int bufferlen);
void _PushAudioPacket(const char*buffer,int bufferlen);
//获取音频缓冲区包数
int  GetAudioCachePackets();
void ClearAudioThread();
void InitVideoThread();
void ClearVideoThread();
void ShowOnePic(const char*data,int witdh,int height);
#endif